<?php

namespace App\Http\Controllers\Test;

use App\Http\Controllers\Controller;
use App\Logics\AdminLogic;

class AdminController extends Controller
{

    // 简单的测试
    public function initialize()
    {
        parent::initialize();
    }

    // 删除二维数组最后一个元素
    public function lists()
    {
        $logic  = new AdminLogic();
        $result = $logic->getAll();

        return $this->success($result);
    }

}


